package com.food.admin.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;


@Data
public class StoreInfoListForm {
    @NotNull(message = "每页条数不为空")
    @Min(value = 1,message = "页码必须为数字并大于等于1")
    @ApiModelProperty("页码")
    private long pageIndex;


    @Min(value = 1,message = "每页条数必须为数字并大于等于1")
    @NotNull(message = "每页条数不为空")
    @ApiModelProperty("每页条数")
    private long pageSize;

    @ApiModelProperty("商铺名名称或联系人姓名")
    private String condition;

}
